loans-api
Get Eligible Accounts
Description: This endpoint is used to get eligible accounts based on Id. The Id being passed in path parameter.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id, x-correlation-id, x-bank-id, client_id, Authorization
Optional Headers: x-sub-channel-id, x-user-id, client_secret, x-debug-flag, x-customer-id
Parameters:
URI Params: {id}
Query Params: NA
Content-type: application/json
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"reasonCode": "",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"accountDetails": [
{
"companycode": "IQ0010108",
"accountNo": "2100000429",
"currency": "USD",
"productName": "Current int bearing"
},
{
"companycode": "IQ0010101",
"accountNo": "2100000428",
"currency": "IQD",
"productName": "Current int bearing"
},
{
"companycode": "IQ0010101",
"accountNo": "2100000427",
"currency": "IQD",
"productName": "Standard Saving Account"
}
]
}
}